﻿
using BCCommon;
using BCCommon.Enums;
using BCData.TMS.VehicleSuiteBusinessTemplate;
using BCDto.Sim.Admin.Admin;
using BCDto.TMS.VehicleSuiteBusinessTemplate;
using BCEntity.TMS.VehicleSuiteBusinessTemplate;
using BCService.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BCService.TMS.VehicleSuiteBusinessTemplate
{
	/// <summary>
	/// 车辆套餐业务模板
	/// </summary>
	public interface IVehicleSuiteBusinessTemplateService
	{
		#region  成员方法
		/// <summary>
		/// 是否存在此记录
		/// </summary>
		/// <param name="vehicleSuiteBusinessTemplateId">车辆套餐业务模板Id</param>
		bool Exists(int vehicleSuiteBusinessTemplateId);
		/// <summary>
		/// 添加车辆套餐业务模板
		/// </summary>
		/// <param name="adminDto">员工信息</param>
		/// <param name="requestDto">车辆套餐业务模板信息</param>
		VehicleSuiteBusinessTemplateDto Add(AdminDto adminDto, VehicleSuiteBusinessTemplateRequestDto requestDto);
		/// <summary>
		/// 更新车辆套餐业务模板
		/// </summary>
		/// <param name="adminDto">员工信息</param>
		/// <param name="putDto">车辆套餐业务模板信息</param>
		VehicleSuiteBusinessTemplateDto Update(AdminDto adminDto, VehicleSuiteBusinessTemplatePutDto putDto);
		/// <summary>
		/// 删除车辆套餐业务模板
		/// </summary>
		/// <param name="vehicleSuiteBusinessTemplateId">车辆套餐业务模板Id</param>
		bool Delete(int vehicleSuiteBusinessTemplateId);
		/// <summary>
		/// 获取车辆套餐业务模板
		/// </summary>
		/// <param name="vehicleSuiteBusinessTemplateId">车辆套餐业务模板Id</param>
		VehicleSuiteBusinessTemplateDto Get(int vehicleSuiteBusinessTemplateId);
		/// <summary>
		/// 获取车辆套餐业务模板列表
		/// </summary>
		IEnumerable<VehicleSuiteBusinessTemplateDto> GetList();
		/// <summary>
		/// 获取车辆套餐业务模板分页列表
		/// </summary>
		/// <param name="suiteBusinessName">套餐业务名称</param>
		/// <param name="enabled">启用</param>
		/// <param name="start">开始时间</param>
		/// <param name="end">结束时间</param>
		/// <param name="sortName">排序字段</param>
		/// <param name="ascending">升序</param>
		/// <param name="pageIndex">当前页码</param>
		/// <param name="pageSize">车辆套餐业务模板每页数据条数</param>
		PageableList<VehicleSuiteBusinessTemplateDto> Query(string suiteBusinessName,bool? enabled, DateTime? start, DateTime? end, string sortName, bool? ascending, int pageIndex, int pageSize);
		/// <summary>
		/// 启用车辆套餐业务模板
		/// </summary>
		/// <param name="adminDto">员工信息</param>
		/// <param name="vehicleSuiteBusinessTemplateId">车辆套餐业务模板Id</param>
		bool Enabled(AdminDto adminDto,int vehicleSuiteBusinessTemplateId);
		/// <summary>
		/// 禁用车辆套餐业务模板
		/// </summary>
		/// <param name="adminDto">员工信息</param>
		/// <param name="vehicleSuiteBusinessTemplateId">车辆套餐业务模板Id</param>
		bool Disabled(AdminDto adminDto,int vehicleSuiteBusinessTemplateId);
		#endregion  成员方法
	}
}